const a =  new Promise((resolve, reject) => setTimeout(() => resolve(new Error('发生了异常！')), 0))
const b =  new Promise((resolve, reject) => setTimeout(() => reject('111111'), 10))
const c =  new Promise((resolve, reject) => setTimeout(() => reject(new Error('发生了异常！')), 0))
const d =  new Promise((resolve, reject) => setTimeout(() => resolve('111111'), 10))




Promise.all([a, b, c, d]).then(data => console.log(data)).catch(err => console.log(err))




